How to serialize objects to json

join shbcf.ru